import {request} from './request'
import * as url from "url";

export function getHomeAllData() {
    return request({
        url: '/api/index',
    })
}

export function getHomeGoods(type = 'sales', page = 1) {
    return request({
        url: '/api/index?' + type + '=1&page=' + page,
    })
}
